<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title></title>

	<link rel="stylesheet" href="../js/jquery.mobile-1.2.0.min.css" />
	<link rel="stylesheet" href="../css/base.css"/>
	<script src="../js/jquery-1.8.2.min.js"></script>
	<script src="../js/jquery.mobile-1.2.0.min.js"></script>


<title>Insert title here</title>
</head>
<body>

<div id="subete"  data-role="page" class="iphonebody">
	<div data-role="header" data-position="fixed" class="iphonebar">
			<div><h1>社員の意見</h1></div>
			<a href="/SBVoice/html/main_menu.html" data-icon="home" data-theme="b" data-transition="slide"  data-direction="reverse">ホーム</a>
			<a href="/SBVoice/opinion/write.action?pageStatus=<s:property value='pageStatus'/>&search=<s:property value='search'/>" data-icon="plus" data-theme="b" data-iconpos="right" data-transition="slide" style="margin-right:8px">投稿</a>
	</div>
		<div data-role="navbar" >
			   <ul>
					<li><a href="/SBVoice/opinion/select.action?pageStatus=9" data-theme="<s:if test="pageStatus == 9 || pageStatus==null">c</s:if><s:else>b</s:else>"><div class="navbartext">すべて</div></a>
					<li><a href="/SBVoice/opinion/select.action?pageStatus=2" data-theme="<s:if test="pageStatus == 2 ">c</s:if><s:else>b</s:else>" ><div class="navbartext">やります</div></a></li>
					<li><a href="/SBVoice/opinion/select.action?pageStatus=1" data-theme="<s:if test="pageStatus == 1 ">c</s:if><s:else>b</s:else>" ><div class="navbartext">検討中</div></a></li>
					<li><a href="/SBVoice/opinion/select.action?pageStatus=3" data-theme="<s:if test="pageStatus == 3 ">c</s:if><s:else>b</s:else>" ><div class="navbartext">見送ります</div></a></li>
			   </ul>
		</div>

		<div style="margin-left:5px;width:98%">
				<form action="/SBVoice/opinion/search.action" method="post"  >

					<div style="width:74%"><input type="text" name="search" value="<s:property value='search'/>"/>
					<input type="hidden" name="pageStatus" value="<s:property value="pageStatus"/>"/></div>
					<div style="margin-top:-49px;float:right;margin-right:5px">
						<input type="submit" id="" value="検索"  style="width:70px" data-theme="b" data-icon="search" data-mini="true"/>
					</div>
				</form>
			</div>
		<div data-role="content" style="margin-top:10px">
			<ul id="list" data-role="listview">
				<s:iterator value="opinionList" id="bean" status="status">
						<li data-icon="false" >
						<div style="text-align:right; position:relative; top:10px; height:0px; margin-right:10px;"><s:property value="counter"/><a href="/SBVoice/opinion/addcount.action?pageStatus=<s:property value="pageStatus" />&opinionid=<s:property value="opinionid"/>&search=<s:property value='search'/>&readpage=no" data-role="button" data-icon="add" data-inline="true" data-mini="true"  rel="external" style="width:50px">1</a></div>
							<a href="/SBVoice/opinion/show.action?opinion.opinionid=<s:property value='opinionid'/>&pageStatus=<s:property value='pageStatus'/>&search=<s:property value='search'/>" data-transition="slide" >
								<div style="float:left; margin:1px 0px 1px -5px;  position:relative;">
									<img src="/SBVoice/img/s<s:property value="status"/>.png" style="width:100px;height:30px">
								</div>

								<div style="height:40px;"></div>


								<div style="margin-top:5px;word-wrap:break-word">
								<font color="#000000;"><s:property value="contents"/></font>
								</div>


								<br>
								<div class="time" style="float:right;margin-top:-12px;margin-right:10px;" ><p><s:date name="createDate" format="yyyy/MM/dd HH:mm"/></p></div>
							</a>

						</li>
				</s:iterator>
			</ul>
		</div>
</div>


</body>
</html>